<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Distribución Actual</title>
<link href="../../EstiloCSSMuni.css" rel="stylesheet" type="text/css" />
</head>


<body bottommargin="0" topmargin="0" leftmargin="0">
<?
	
			include("../conexionstaging.php");				

		 $consulta = mysql_query("SELECT IDNOT,TITULO FROM NOTICIA WHERE POSICION='1' ORDER BY IDNOT DESC LIMIT 1", $conexion) or die(mysql_error());
			     
		$consulta = mysql_fetch_assoc($consulta);
		$Not1 = $consulta['IDNOT'];
		$Tit1 = $consulta['TITULO'];	

		
		 $consulta = mysql_query("SELECT IDNOT,TITULO FROM NOTICIA WHERE POSICION='2' ORDER BY IDNOT DESC LIMIT 1", $conexion) or die(mysql_error());
			     
		$consulta = mysql_fetch_assoc($consulta);
		$Not2 = $consulta['IDNOT'];
		$Tit2 = $consulta['TITULO'];
		
			 $consulta = mysql_query("SELECT IDNOT,TITULO FROM NOTICIA WHERE POSICION='3' ORDER BY IDNOT DESC LIMIT 1", $conexion) or die(mysql_error());
			     
		$consulta = mysql_fetch_assoc($consulta);
		$Not3 = $consulta['IDNOT'];
		$Tit3 = $consulta['TITULO'];
		
			 $consulta = mysql_query("SELECT IDNOT,TITULO FROM NOTICIA WHERE POSICION='4' ORDER BY IDNOT DESC LIMIT 1", $conexion) or die(mysql_error());
			     
		$consulta = mysql_fetch_assoc($consulta);
		$Not4 = $consulta['IDNOT'];
		$Tit4 = $consulta['TITULO'];
		
			 $consulta = mysql_query("SELECT IDNOT,TITULO FROM NOTICIA WHERE POSICION='5' ORDER BY IDNOT DESC LIMIT 1", $conexion) or die(mysql_error());
			     
		$consulta = mysql_fetch_assoc($consulta);
		$Not5 = $consulta['IDNOT'];
		$Tit5 = $consulta['TITULO'];
		
			 $consulta = mysql_query("SELECT IDNOT,TITULO FROM NOTICIA WHERE POSICION='6' ORDER BY IDNOT DESC LIMIT 1", $conexion) or die(mysql_error());
			     
		$consulta = mysql_fetch_assoc($consulta);
		$Not6 = $consulta['IDNOT'];
		$Tit6 = $consulta['TITULO'];
		
			 $consulta = mysql_query("SELECT IDNOT,TITULO FROM NOTICIA WHERE POSICION='7' ORDER BY IDNOT DESC LIMIT 1", $conexion) or die(mysql_error());
			     
		$consulta = mysql_fetch_assoc($consulta);
		$Not7 = $consulta['IDNOT'];
		$Tit7 = $consulta['TITULO'];
		
			 $consulta = mysql_query("SELECT IDNOT,TITULO FROM NOTICIA WHERE POSICION='8' ORDER BY IDNOT DESC LIMIT 1", $conexion) or die(mysql_error());
			     
		$consulta = mysql_fetch_assoc($consulta);
		$Not8 = $consulta['IDNOT'];
		$Tit8 = $consulta['TITULO'];
		
			 $consulta = mysql_query("SELECT IDNOT,TITULO FROM NOTICIA WHERE POSICION='9' ORDER BY IDNOT DESC LIMIT 1", $conexion) or die(mysql_error());
			     
		$consulta = mysql_fetch_assoc($consulta);
		$Not9 = $consulta['IDNOT'];
		$Tit9 = $consulta['TITULO'];
		
		 $consulta = mysql_query("SELECT IDNOT,TITULO FROM NOTICIA WHERE POSICION='10' ORDER BY IDNOT DESC LIMIT 1", $conexion) or die(mysql_error());
			     
		$consulta = mysql_fetch_assoc($consulta);
		$Not10 = $consulta['IDNOT'];
		$Tit10 = $consulta['TITULO'];
	
			
		mysql_close($conexion);
		
	  ?>
<table width="349" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="2"><img src="../../IMAGENES/DiagramaEncabezado.jpg" alt="Diaggrama" width="350" height="65" /></td>
  </tr>
  <tr>
    <td width="86%" valign="top"><table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="71" align="center" valign="middle" bgcolor="#FF0000" class="Titulo2">[1]: <? echo $Not1.':<a href="ModificarNoticia.php?IDnot='.$Not1.'" target="_parent"><div class="FechayTipo1">'.$Tit1."</div></a>"; ?></td>
      </tr>
      <tr>
        <td valign="top"><table width="100%" border="0" cellspacing="2" cellpadding="0">
          <tr class="Titulo2">
            <td height="77" align="center" valign="middle" bgcolor="#000066" class="Titulo2">[2]: <? echo $Not2.':<a href="ModificarNoticia.php?IDnot='.$Not2.'" target="_parent"><div class="FechayTipo1">'.$Tit2."</div></a>"; ?></td>
            <td align="center" valign="middle" bgcolor="#000066">[3]: <? echo $Not3.':<a href="ModificarNoticia.php?IDnot='.$Not3.'" target="_parent"><div class="FechayTipo1">'.$Tit3."</div></a>"; ?></td>
            <td align="center" valign="middle" bgcolor="#000066">[4]: <? echo $Not4.':<a href="ModificarNoticia.php?IDnot='.$Not4.'" target="_parent"><div class="FechayTipo1">'.$Tit4."</div></a>"; ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="64%" height="134" valign="top"><table width="100%" height="153" border="0" cellpadding="0" cellspacing="2">
              <tr>
                <td height="45" align="center" valign="middle" bgcolor="#333333" class="Titulo2">[5]: <? echo $Not5.':<a href="ModificarNoticia.php?IDnot='.$Not5.'" target="_parent"><div class="FechayTipo1">'.$Tit5."</div></a>"; ?></td>
              </tr>
              <tr>
                <td height="51" align="center" valign="middle" bgcolor="#666666" class="Titulo2">[6]: <? echo $Not6.':<a href="ModificarNoticia.php?IDnot='.$Not6.'" target="_parent"><div class="FechayTipo1">'.$Tit6."</div></a>"; ?></td>
              </tr>
              <tr>
                <td height="49" align="center" valign="middle" bgcolor="#999999" class="Titulo2">[7]: <? echo $Not7.':<a href="ModificarNoticia.php?IDnot='.$Not7.'" target="_parent"><div class="FechayTipo1">'.$Tit7."</div></a>"; ?></td>
              </tr>
            </table></td>
            <td width="36%" valign="top"><table width="100%" height="153" border="0" cellpadding="0" cellspacing="2">
              <tr>
                <td height="91" align="center" valign="middle" bgcolor="#333333" class="Titulo2">[8]: <? echo $Not8.':<a href="ModificarNoticia.php?IDnot='.$Not8.'" target="_parent"><div class="FechayTipo1">'.$Tit8."</div></a>"; ?></td>
              </tr>
              <tr>
                <td align="center" valign="middle" bgcolor="#666666" class="Titulo2">[9]: <? echo $Not9.':<a href="ModificarNoticia.php?IDnot='.$Not9.'" target="_parent"><div class="FechayTipo1">'.$Tit9."</div></a>"; ?></td>
              </tr>
              <tr>
                <td align="center" valign="middle" bgcolor="#666666" class="Titulo2">[10]: <? echo $Not10.':<a href="ModificarNoticia.php?IDnot='.$Not10.'" target="_parent"><div class="FechayTipo1">'.$Tit10."</div></a>"; ?></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
    <td width="14%" align="center" valign="top"><img src="../../IMAGENES/DiagramaIzquierda.jpg" alt="Diagrama2" width="50" height="345" /></td>
  </tr>
</table>
</body>
</html>